export class BackendPageModel<T> {
    content!: T[];
    empty!: boolean;
    first!: boolean;
    last!: boolean;
    number!: number;
    numberOfElements!: number
    pageable!: PageableModel;
    size!: number
    sort!: SortModel
    totalElements!: number;
    totalPages!: number
}

export class PageableModel {
    offset!: number;
    pageNumber!: number;
    pageSize!: number;
    paged!: boolean;
    sort!: SortModel
    unpaged!: boolean;
}

export class SortModel {
    empty!: boolean;
    sorted!: boolean;
    unsorted!: boolean;
}